﻿using SD.ContentSystem.Domain.IDomainServices;

namespace SD.ContentSystem.Domain.Mediators
{
    /// <summary>
    /// 领域服务中介者
    /// </summary>
    public class DomainServiceMediator
    {
        /// <summary>
        /// 依赖注入构造器
        /// </summary>
        public DomainServiceMediator(IArticleService articleSvc, IChannelService channelSvc)
        {
            this.ArticleSvc = articleSvc;
            this.ChannelSvc = channelSvc;
        }

        /// <summary>
        /// 文章领域服务接口
        /// </summary>
        public IArticleService ArticleSvc { get; private set; }

        /// <summary>
        /// 栏目领域服务接口
        /// </summary>
        public IChannelService ChannelSvc { get; private set; }
    }
}
